package com.mayuanfei.service.impl;

import com.aizuda.snailjob.client.core.annotation.ExecutorMethodRegister;
import com.aizuda.snailjob.client.core.strategy.ExecutorMethod;
import lombok.extern.slf4j.Slf4j;

/**
 * TODO 类描述
 *
 * @author 老马
 * @date 2025-04-23 14:20
 */
@Slf4j
@ExecutorMethodRegister(scene = MyHandRetryMethod.SCENE)
public class MyHandRetryMethod  implements ExecutorMethod {
    /**
     * 自定义场景值
     */
    public final static String SCENE = "myHandRetryMethod";

    @Override
    public Object doExecute(Object params) {
        log.info("执行手动重试方法。参数值：{}", params);
        return true;
    }
}